remove

abstract fun remove(word: String): Boolean

Removes the given word from the dictionary and schedules a write to disk.

Return

true if the given word was found and removed successfully

Parameters

word

a word to remove from the dictionary. It must be UTF8, between 1 and 99 bytes long, and without leading or trailing ASCII whitespace

Throws

when word is empty or blank

when the engine is closed